package com.ylx.gateway;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@Slf4j
@EnableDiscoveryClient
@SpringBootApplication(scanBasePackages = {"com.ylx"})
public class GateWayApplication {

    public static void main(String[] args) {
        log.info("======>网关启动中<=====");
        SpringApplication.run(GateWayApplication.class,args);
        log.info("======>网关启动成功<=====");
    }
}
